package com.colinsage.spring.domain;

public class User {
	String id;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	Address address;
	String name;
	int age;

	public User(){
		
	}
	public User(Address addr) {
		this.address = addr;
		this.name = "ShangHai";
		this.age = 100;
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

}
